package com.itheima.tliasmanagement.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class OperateLog {
    private Integer id; //主键ID
    private Integer operateUser; //操作人ID
    private String operateName; //操作人姓名
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime operateTime; //操作时间
    private String className; //操作类名
    private String methodName; //操作方法名
    private String methodParams; //操作方法参数
    private String methodDesc; //操作方法描述
    private String returnValue; //操作方法返回值
    private Long costTime; //操作耗时
    private String operateEmpName;
}